package top.lgd.pojo.res.study;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author YYJ
 * @version 1.0
 * @since 2023/12/22 9:52
 */
@Getter
@Setter
public class CatalogRes implements Serializable {
    private static final long serialVersionUID = -7253495006340220200L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 父ID
     */
    private Long parentid;

    /**
     * 祖级ID
     */
    private String ancestors;


    /**
     * 名称
     */
    private String name;

    /**
     * 排序
     */
    private Integer sortNum;

    private List<CatalogRes> children;
}